package com.dms.modules.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@ApiModel(value = "商品信息VO", description = "商品详细信息")
public class ProductVO {

    @ApiModelProperty("商品ID")
    private Long id;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品描述")
    private String description;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("商品主图")
    private String mainImage;

    @ApiModelProperty("商品状态")
    private Integer status;

    @ApiModelProperty("是否已收藏")
    private Boolean favorite;

    @ApiModelProperty("收藏时间")
    private LocalDateTime favoriteTime;
} 